package vm;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;


public class CollectData {
 public static void main(String[] args) {
	try {
		Scanner scan = new Scanner(new File("noreg.txt"),"UTF-8");
		FileWriter fw = new FileWriter(new File("yes.txt"));
		while(scan.hasNext()) {
			String[] lineInPieces = scan.nextLine().split("\t");
			fw.write(lineInPieces[1].replaceAll(" ", "_") + " " + lineInPieces[8] + " " + lineInPieces[9] + "\n");
		}
		
	} catch (FileNotFoundException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
 	catch (IOException e) {
 		e.printStackTrace();
 	}
}
}
